<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html class=" js no-touch csstransforms csstransforms3d svg" lang=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>报告审核 - <?php echo ($post["title"]); ?></title>
<meta name="description" content="">
<meta name="referrer" content="never">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="/Public/Static//app.min.css">
<link rel="stylesheet" href="/Public/Static//sweetalert.css">

<style type="text/css">.cf-hidden { display: none; } .cf-invisible { visibility: hidden; }</style>
</head>
<body class="wysihtml5-supported page-loaded" style="font-family:微软雅黑;">
 
<div class="pageload" style="display: none;">
<div class="pageload-inner">
<div class="sk-rotating-plane"></div>
</div>
</div>
 
<div class="app layout-fixed-header">
 
<div class="sidebar-panel offscreen-left ps-container ps-active-y" data-ps-id="4dd3008c-a74f-793d-e4fa-8a1e95729015">
<div class="brand">
 
<a href="<?php echo U('about/index');?>" class="toggle-apps hidden-xs">
<i id="icon_dynamic" class="icon-grid"></i>
</a>
 
 
<div class="toggle-offscreen">
<a href="javascript:;" class="visible-xs hamburger-icon" data-toggle="offscreen" data-move="ltr">
<span></span>
<span></span>
<span></span>
</a>
</div>
 
 
<a class="brand-logo">
<span>xSRC</span>
</a>
</div>
 
<nav role="navigation">
<ul class="nav">
 
<li>
<a href="<?php echo U('index/index');?>">
<i class="icon-compass"></i>
<span>控制台</span>
</a>
</li> 
 
<li class="open menu-accordion">
<a href="javascript:;">
<i class="icon-drop"></i>
<span>漏洞报告</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('post/index?type=1');?>">
<span style="color:#6164C1;;">报告审核</span>
</a>
</li>
<li>
<a href="<?php echo U('post/index');?>">
<span style="color:[report_color];">全部报告</span>
</a>
</li>
<li>
<a href="<?php echo U('category/index');?>">
<span style="color:[report_category_color];">漏洞分类</span>
</a>
</li>
</ul>
</li>
<li class="[links_status] menu-accordion">
<a href="javascript:;">
<i class="icon-bag"></i>
<span>礼品中心</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('gifts/index');?>">
<span style="color:[links_color]">礼品管理</span>
</a>
</li>
<li>
<a href="<?php echo U('order/index');?>">
<span style="color:[orders_color]">订单管理</span>
</a>
</li>
</ul>
</li>
<li class="[page_status] menu-accordion">
<a href="javascript:;">
<i class="icon-book-open"></i>
<span>博客公告</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('page/index');?>">
<span style="color:[page_color];">公告管理</span>
</a>
</li>
<li>
<a href="<?php echo U('blog/index');?>">
<span style="color:[blog_color];">博客管理</span>
</a>
</li>
</ul>
</li>

<li class="[users_status] menu-accordion">
<a href="javascript:;">
<i class="icon-users"></i>
<span>用户管理</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('member/index');?>">
<span style="color:[member_color]">前台用户</span>
</a>
</li>
<li>
<a href="<?php echo U('manager/index');?>">
<span style="color:[manager_color]">后台用户</span>
</a>
</li>
</ul>
</li>

  
<li class="[hall_status] menu-accordion">
<a href="javascript:;">
<i class="icon-trophy"></i>
<span>贡献管理</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('hall/record');?>">
<span style="color:[jifen_color];">积分日志</span>
</a>
</li>
</ul>
</li>

<li class="[setting_status] menu-accordion">
<a href="javascript:;">
<i class="icon-equalizer"></i>
<span>系统设置</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('setting/index');?>">
<span style="color:[setting_color]">基础配置</span>
</a>
<a href="<?php echo U('setting/notify');?>"><span style="color:[setting_notify_color]">通知设置</span></a>
</li>
</ul>
</li>
</ul>
</nav>
 
<div class="ps-scrollbar-x-rail" style="left: 0px; bottom: 3px;"><div class="ps-scrollbar-x" tabindex="0" style="left: 0px; width: 0px;"></div></div><div class="ps-scrollbar-y-rail" style="top: 0px; height: 703px; right: 0px;"><div class="ps-scrollbar-y" tabindex="0" style="top: 0px; height: 562px;"></div></div></div>
 
 
<div class="main-panel">
 
<div class="header navbar">
<div class="brand visible-xs">
 
<div class="toggle-offscreen">
<a href="javascript:;" class="hamburger-icon visible-xs" data-toggle="offscreen" data-move="ltr">
<span></span>
<span></span>
<span></span>
</a>
</div>
 
 
<a class="brand-logo">
<span>xSRC</span>
</a>
 
</div>

<ul class="nav navbar-nav navbar-right hidden-xs">
<li>
<ul class="dropdown-menu notifications">
<li class="notifications-header">
</li>
<li>
<ul class="notifications-list">
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-success text-white">
<i class="icon-bulb"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-danger text-white">
<i class="icon-cursor"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-primary text-white">
<i class="icon-basket"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-info text-white">
<i class="icon-bubble"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<span class="notification-icon">
<img src="/Public/Static//face3.jpg" class="avatar img-circle" alt="">
</span>
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="ripple" data-toggle="dropdown">
<img src="/Public/Static//avatar.jpg" class="header-avatar img-circle" alt="user" title="user">
<span><?php echo session('adminname');?> </span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a href="<?php echo U('manager/update?id='); echo session('adminId');?>">个人设置</a>
</li>
<li>
<a href="https://support.qq.com/products/83106" target="_blank">建议反馈</a>
</li>
<li role="separator" class="divider"></li>
<li>
<a href="<?php echo U('login/logout?token='); echo session('token');?>">退出</a>
</li>
</ul>
</li>
</ul>
</div>
 
 
<div class="main-content">
<div class="page-title">
<ol class="breadcrumb no-bg pl0">
<li>
<i class="icon-layers"></i> <a href="<?php echo U('post/index');?>">漏洞列表</a>
</li>
<li>
<a href="javascript:;">报告审核</a>
</li>
</ol>
<h4 style="font-family:微软雅黑;">[SRC-<?php echo (date("Y",$post["time"])); ?>-<?php echo ($post["id"]); ?>] <?php echo ($post["title"]); ?></h4>
</div>
</div>

<div class="col-sm-12">
<!--分割线-->
<div class="card bg-white">
<div class="card-header bg-default">
<div class="pull-left">报告详情</div>
<div class="pull-right"><a href="<?php echo U('post/update?id='); echo ($post["id"]); ?>"><i class="fa fa-pencil" aria-label="编辑报告"></i></a></div>
</div>
<div class="card-block">
<div class="row">
<div class="col-lg-6">
		            <p><span><b>报告奖励：</b><?php echo ($post["bounty"]); ?></span></p>
		            <p><span><b>报告时间：</b><?php echo (date("Y-m-d H:i:s",$post["time"])); ?></span></p>          
</div>
<div class="col-lg-6">
					<p><span><b>报告状态：</b></span><?php if($post["type"] == 1): ?><span class="label label-info">审核中</span>
                    <?php elseif($post["type"] == 2): ?><span class="label label-default">已忽略</span>
                    <?php elseif($post["type"] == 3): ?><span class="label label-warning">已确认</span>
                    <?php elseif($post["type"] == 4): ?><span class="label label-success">已修复</span>
					<?php elseif($post["type"] == 5): ?><span class="label label-default">已完成</span><?php endif; ?> </p> 
					<p><span><b>漏洞危害：</b></span><?php if($post["rank"] == 1): ?><span class="label label-info">无影响</span>
                    <?php elseif($post["rank"] == 2): ?><span class="label label-default">低危</span>
                    <?php elseif($post["rank"] == 3): ?><span class="label label-warning">中危</span>
                    <?php elseif($post["rank"] == 4): ?><span class="label label-danger">高危</span><?php endif; ?></p>
</div>
<div class="col-lg-12">
<hr/>
<p><b>报告内容：</b></p>
<p>
<?php echo (waf(htmlspecialchars_decode($post["content"]))); ?>
</p>
</div>
</div>
<?php if($post["attachment"] != ''): ?><code>*附件：<a href="/Public/Uploads/<?php echo ($post["attachment"]); ?>">点击下载</code><?php endif; ?>
</div>
</div>
<!--分割线-->
<!--分割线-->
<div class="card bg-white">
<div class="card-header bg-default">
<div class="pull-left">审核报告</div>
<div class="card-controls">
<a href="javascript:;" class="card-collapse" data-toggle="card-collapse">
<i class="card-icon-collapse"></i>
</a>
</div>
</div>
<div class="card-block" style="">
<form method="post" action="<?php echo U('post/review?id='); echo ($post["id"]); ?>">
<div class="form-group">
            <label>修补限期：</label>
			<?php if($post["day"] == 1): ?><label class="radio-inline">
              <input type="radio" name="day" id="day" value="1" checked="checked">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="2">10天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="3">3天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="4">2天
            </label>
			<?php elseif($post["day"] == 2): ?>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="1">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="2" checked="checked">10天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="3">3天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="4">2天
            </label>
			<?php elseif($post["day"] == 3): ?>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="1">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="2">10天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="3" checked="checked">3天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="4">2天
            </label>
			<?php elseif($post["day"] == 4): ?>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="1">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="2">10天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="3">3天
            </label>
            <label class="radio-inline">
              <input type="radio" name="day" id="day" value="4" checked="checked">2天
            </label><?php endif; ?>
        </div>
<div class="form-group">
            <label>危害评级：</label>
            <?php if($post["rank"] == 1): ?><label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="1" checked="checked">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="2">低危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="3">中危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="4">高危
            </label>
            <?php elseif($post["rank"] == 2): ?>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="1">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="2" checked="checked">低危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="3">中危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="4">高危
            </label>
            <?php elseif($post["rank"] == 3): ?>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="1">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="2">低危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="3" checked="checked">中危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="4">高危
            </label>
            <?php elseif($post["rank"] == 4): ?>
             <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="1">无影响
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="2">低危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="3">中危
            </label>
            <label class="radio-inline">
              <input type="radio" name="rank" id="rank" value="4" checked="checked">高危
            </label><?php endif; ?>
        </div>
<div class="form-group">
            <label>处理结果：</label>
            <?php if($post["type"] == 1): ?><label class="radio-inline">
              <input type="radio" name="type" id="type" value="1" checked="checked">审核中
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="2">已忽略
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="3">已确认
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="4">已修复
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="5">已完成
            </label>
            <?php elseif($post["type"] == 2): ?>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="1">审核中
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="2" checked="checked">已忽略
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="3">已确认
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="4">已修复
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="5">已完成
            </label>
            <?php elseif($post["type"] == 3): ?>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="1">审核中
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="2">已忽略
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="3" checked="checked">已确认
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="4">已修复
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="5">已完成
            </label>
            <?php elseif($post["type"] == 4): ?>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="1">审核中
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="2">已忽略
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="3">已确认
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="4" checked="checked">已修复
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="5">已完成
            </label>
            <?php elseif($post["type"] == 5): ?>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="1">审核中
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="2">已忽略
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="3">已确认
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="4">已修复
            </label>
            <label class="radio-inline">
              <input type="radio" name="type" id="type" value="5" checked="checked">已完成
            </label><?php endif; ?>
        </div>
<div class="form-group">
            <label>恶意测试：</label>
			<?php if($post["behavior"] == 0): ?><label class="radio-inline">
              <input type="radio" name="behavior" id="behavior" value="0" checked="checked">无
            </label>
            <label class="radio-inline">
              <input type="radio" name="behavior" id="behavior" value="1">有
            </label>
			<?php elseif($post["behavior"] == 1): ?>
			<label class="radio-inline">
              <input type="radio" name="behavior" id="behavior" value="0" checked="checked">无
            </label>
            <label class="radio-inline">
              <input type="radio" name="behavior" id="behavior" value="1">有
            </label><?php endif; ?>
        </div>
		<input type="hidden" name="token" value="<?php echo session('token');?>" />
        <button type="submit" class="btn btn-info btn-sm btn-icon loading-demo mr5">
		<i class="icon-cursor mr5"></i>
		<span>提交</span>
</button>
</form>
</div>
</div>
<!--时间线主要内容-->
<!--报告奖励-->
<div class='card bg-white'>
<div class="card-header bg-default">
<div class="pull-left">报告奖励</div>
<div class="card-controls">
<a href="javascript:;" class="card-collapse" data-toggle="card-collapse">
<i class="card-icon-collapse"></i>
</a>
</div>
</div>
<div class="card-block" style="">
<!--评级内容框-->
<form method="post" action="<?php echo U('post/jifen?uid='); echo ($post["user_id"]); ?>">
<div class="row">
<div class="col-sm-5">
		<div class="form-group">
        <label>奖励积分：</label>
			<?php if($post["points"] == 0): ?><input class="form-control" name="jifen" type="text" placeholder="请输入奖励积分...">
			<?php else: ?>
			<input class="form-control" name="jifen" type="text" value="<?php echo ($post["points"]); ?>" placeholder="请输入奖励积分..."><?php endif; ?>
		</div>
</div>		
<div class="col-sm-5">
		<div class="form-group">
        <label>奖励金币：</label>
			<?php if($post["score"] == 0): ?><input class="form-control" name="jinbi" type="text" placeholder="请输入奖励金币...">
			<?php else: ?>
			<input class="form-control" name="jinbi" type="text" value="<?php echo ($post["score"]); ?>" placeholder="请输入奖励金币..."><?php endif; ?>
		</div>
</div>
</div>
		<input type="hidden" name="pid" value="<?php echo ($post["id"]); ?>">
		<input type="hidden" name="token" value="<?php echo session('token');?>">
		<button type="submit" class="btn btn-info btn-sm btn-icon loading-demo mr5">		
			<i class="icon-cursor mr5"></i>
		    <span>提交</span>
		</button>
	</form>
<!--评级内容框-->
</div>
</div>
<!--报告奖励-->
<!--工单评论信息-->
<div class="card bg-white">
<div class="card-header bg-default">
<div class="pull-left">评论</div>
</div>
<div class="card-block" style="">
<?php if(is_array($comment)): foreach($comment as $key=>$v): ?><div class="comment">
			<div class="comment-author">
				<b><a>
					<?php if($v["admin_name"] == '匿名用户'): ?>#<?php echo ($v["user_name"]); elseif($v["user_name"] == '匿名用户'): ?>#<?php echo ($v["admin_name"]); ?> (管理员)<?php endif; ?>
					<time datetime="2015-09-01" class="time"> <?php echo (date("Y年m月d日",$v["update_time"])); ?></time>
				</a></b>
			</div>
			<p><?php echo ($v["content"]); ?></p>
		</div>
    <hr/><?php endforeach; endif; ?>
<div class="form-group">
<form method="post" action="<?php echo U('post/comment');?>">
	<div class="form-group">
		<textarea class="form-control m-b input-sm" type="text" name="content" placeholder="点击此处输入评论..."></textarea>
		<input hidden type="text" name="post_id" value="<?php echo ($post["id"]); ?>">
        </div>
		<input type="hidden" name="token" value="<?php echo session('token');?>">
		<button type="submit" class="btn btn-info btn-sm btn-icon loading-demo mr5">
		<i class="icon-cursor mr5"></i>
		<span>提交</span>
</button>
</form>
</div>
</div>
</div>
<!--工单评论信息-->

<!--分割线-->
</div>
<!--分割线-->

</div>

<!-- 配置文件 -->
<script type="text/javascript" src="/Public/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="/Public/ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('post-content',{
        toolbars: [
            ['source', 'undo', 'redo','bold', 'italic', 'underline','fontborder', 'strikethrough', '|','simpleupload', 'insertimage','emotion','link','unlink', '|', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote','searchreplace', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc'],
            ['inserttable','insertrow', 'insertcol','mergeright', 'mergedown','deleterow', 'deletecol','splittorows','splittocols', 'splittocells','deletecaption','inserttitle', 'mergecells', 'deletetable','insertparagraphbeforetable', 'paragraph','fontsize','fontfamily']
        ],
        initialFrameHeight:500,
        zIndex:100
    });
</script>
</div>
<script src="/Public/Static//app.min.js"></script><div class="bg-default"></div><div class="bg-primary"></div><div class="bg-success"></div><div class="bg-warning"></div><div class="bg-danger"></div><div class="bg-info"></div><div class="bg-white"></div><div class="bg-dark"></div>
 
<script src="/Public/Static//bootstrap3-wysihtml5.all.min.js"></script>
<script src="/Public/Static//summernote.min.js"></script>
<script src="/Public/Static//jquery.flot.js"></script>
<script src="/Public/Static//jquery.flot.resize.js"></script>
<script src="/Public/Static//jquery.flot.categories.js"></script>
<script src="/Public/Static//jquery.flot.stack.js"></script>
<script src="/Public/Static//jquery.flot.time.js"></script>
<script src="/Public/Static//jquery.flot.pie.js"></script>
<script src="/Public/Static//jquery.flot.spline.js"></script>
<script src="/Public/Static//jquery.flot.orderBars.js"></script>
<script src="/Public/Static//sweetalert.min.js"></script>
  
<script src="/Public/Static//sameheight.js"></script>
<script src="/Public/Static//dashboard.js"></script>

<script src="/Public/Static//wysiwyg.js"></script><div class="note-popover popover in note-link-popover bottom" style="display: none;">  <div class="arrow"></div>  <div class="popover-content note-children-container"><span><a target="_blank"></a>&nbsp;</span><div class="note-btn-group btn-group note-link"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Edit"><i class="note-icon-link"></i></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Unlink"><i class="note-icon-chain-broken"></i></button></div></div></div><div class="note-popover popover in note-image-popover bottom" style="display: none;">  <div class="arrow"></div>  <div class="popover-content note-children-container"><div class="note-btn-group btn-group note-imagesize"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Resize Full"><span class="note-fontsize-10">100%</span></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Resize Half"><span class="note-fontsize-10">50%</span></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Resize Quarter"><span class="note-fontsize-10">25%</span></button></div><div class="note-btn-group btn-group note-float"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Float Left"><i class="note-icon-align-left"></i></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Float Right"><i class="note-icon-align-right"></i></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Float None"><i class="note-icon-align-justify"></i></button></div><div class="note-btn-group btn-group note-remove"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Remove Image"><i class="note-icon-trash"></i></button></div></div></div>
<script>
var current_version = '1.0.1';

function fetch_update(){
				
                $.ajax({
                    url: "https://security.tencent.com/xsrc/get_new_ver",
                    type: "GET",
                    success: function (data) {
						if (data != current_version){
							$("#icon_dynamic").attr("class","icon-arrow-up");
							$("#icon_dynamic").attr("style","color:red;");
							$("#update_tips_ids").html('<a href="https://security.tencent.com/opensource/detail/19">/ <span style="color: red;">有更新包，立即升级</span></a>');
						}
                    },
                    error: function () {
						console.log('更新检查失败');
                    }
                });
}

fetch_update();
</script>
</body></html>